SendPS allows to send PostScript datas to a LaserWriter over AppleTalk.
SYNTAX
SendPS <container or pathname> [,<page setup> [,<print dialog>]]
PARAMETERS
<container or pathname> can be either any valid container of HyperTalk, or the full pathname of a Postscript file. In the second case, a single name assumes the file is in the same folder than the current stack.
<page setup> is a boolean allowing to get the page setup dialog. Default is FALSE.
<print dialog> is a boolean allowing to get the printing dialog. Default is FALSE.
Using "!", "?" or "=" as first parameter will return an online help (resp. copyright, syntax and output).
ERRORS
If an error occurs, the Result can contain :
"Error : Not a file"
"Error : Not a folder"
"Error : Alias file not supported"
"Error : Volume not found"
"Error : Bad Name"
"Error : File not found"
"Error : Folder not found"
"Error : File is busy"
"Error : I/O Error"
"Error : Folder is full"
"Error : Volume is locked"
"Error : No resource fork"
"Error : Duplicate file/folder name"
"Error : Moving whole volume not allowed"
"Error : Not an AppleShare volume"
"Error : AppleShare insufficient privileges"
"Error : Missing parameter"
"Error : Could't allocate file buffer"
"Error : Second param must be boolean"
"Error : Third param must be boolean"
"Error : Out of memory"
HISTORY
1.4 12/25/91
• Fixed alias file bug under System 7.0.1
1.3 08/04/91
• Added support for System 7.0 alias files
• General enhancement of the code
• Added "=" param for online help
1.2
• size of datas to be send can exceed 32 kb.
1.1
• use of spooler is allowed
• blank trailing page removed when using a spooler
Free for non-commercial use. Use in commercial software subjected to prior acknowledgement and licensing from the author, reachable at the following network addresses: